﻿<Canvas x:Class="Cards.GamerCard" x:Name="Gamer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="204" Height="140" Background="{DynamicResource Background}">
    <Image Height="140" Width="204" Source="{DynamicResource BackgroundImage}" Stretch="Fill" Canvas.Top="0" Canvas.Left="0" Visibility="{DynamicResource ShowBackground}">
        <Image.OpacityMask><SolidColorBrush Color="#CC000000"/></Image.OpacityMask>
    </Image>
    <Rectangle Canvas.Left="4" Canvas.Top="4" Height="18" Width="196" Fill="{DynamicResource HorizontalGradient}"/>
    <TextBlock Canvas.Left="4" Canvas.Top="0" Height="31" Width="196" Padding="5" FontFamily="Verdana" FontWeight="Bold" Foreground="{DynamicResource Foreground}" Text="{DynamicResource ZuneTag}"/>
    <Rectangle Canvas.Left="4" Canvas.Top="23" Height="70" Width="196" Fill="{DynamicResource SectionBackground}"/>
    <Image Canvas.Left="10" Canvas.Top="25" Height="66" Stretch="Fill" Width="66" Source="{DynamicResource AvatarImage}"/>
    <Rectangle Canvas.Left="9" Canvas.Top="24" Height="67" Width="67" Stroke="{DynamicResource Border}"/>
    <TextBlock Padding ="5" Canvas.Left="78" Canvas.Top="23" Height="24" Width="50" FontFamily="Verdana" FontSize="10.2" Foreground="{DynamicResource SectionForeground}" Visibility="{DynamicResource ShowPlays}" Text="Plays"/>
    <TextBlock Padding ="5" Canvas.Left="140" Canvas.Top="23" FontFamily="Verdana" FontSize="10.2" Height="24" Width="58" Foreground="{DynamicResource SectionForeground}" Text="{DynamicResource Plays}" Visibility="{DynamicResource ShowPlays}"/>
    <Line X1="76" Y1="46" X2="199" Y2="46" StrokeThickness="1" SnapsToDevicePixels="true" Stroke="{DynamicResource Border}" Visibility="{DynamicResource ShowBadges}" />
    <TextBlock Padding ="5" Canvas.Left="78" Canvas.Top="46" Height="24" Width="50" FontFamily="Verdana" FontSize="10.2" Foreground="{DynamicResource SectionForeground}" Visibility="{DynamicResource ShowBadges}" Text="Badges"/>
    <TextBlock Padding ="5" Canvas.Left="140" Canvas.Top="46" FontFamily="Verdana" FontSize="10.2" Height="24" Width="58" Foreground="{DynamicResource SectionForeground}" Text="{DynamicResource Badges}" Visibility="{DynamicResource ShowBadges}"/>
    <Line X1="76" Y1="68" X2="199" Y2="68" StrokeThickness="1" SnapsToDevicePixels="true" Stroke="{DynamicResource Border}" Visibility="{DynamicResource ShowBadges}"/>
    <TextBlock Padding ="5" Canvas.Left="78" Canvas.Top="69" Height="24" Width="50" FontFamily="Verdana" FontSize="10.2" Foreground="{DynamicResource SectionForeground}" Visibility="{DynamicResource ShowZune}" Text="Zune"/>
    <TextBlock Padding ="5" Canvas.Left="140" Canvas.Top="69" FontFamily="Verdana" FontSize="10.2" Height="24" Width="58" Foreground="{DynamicResource SectionForeground}" Text="{DynamicResource Zune}" Visibility="{DynamicResource ShowZune}"/>
    <Rectangle Canvas.Left="123" Canvas.Top="70" Height="22" Width="22" Tag="Zune" Fill="{DynamicResource Device}" Visibility="{DynamicResource ShowZune}"/>
    <Rectangle Canvas.Left="4" Canvas.Top="98" Height="38" Width="196" Fill="{DynamicResource SectionBackground}"/>
    <Image Tag="1" Canvas.Left="10" Canvas.Top="102" Height="32" Stretch="Fill" Width="32" Style="{DynamicResource CoverTextAlt}" Source="{DynamicResource CoverImage1}" Visibility="{DynamicResource ShowCovers}"/>
    <TextBlock Tag="1" Canvas.Left="10" Canvas.Top="118" FontFamily="Arial" FontSize="6.5" Height="16" MaxHeight="16" MaxWidth="32" Padding="1" Width="32" TextWrapping="WrapWithOverflow" Text="{DynamicResource CoverText1}" Visibility="{DynamicResource ShowCoverText}"/>
    <Image Tag="2" Canvas.Left="48" Canvas.Top="102" Height="32" Stretch="Fill" Width="32" Style="{DynamicResource CoverTextAlt}" Source="{DynamicResource CoverImage2}" Visibility="{DynamicResource ShowCovers}"/>
    <TextBlock Tag="2" Canvas.Left="48" Canvas.Top="118" FontFamily="Arial" FontSize="6.5" Height="16" MaxHeight="16" MaxWidth="32" Padding="1" Width="32" TextWrapping="WrapWithOverflow" Text="{DynamicResource CoverText2}" Visibility="{DynamicResource ShowCoverText}"/>
    <Image Tag="3" Canvas.Left="86" Canvas.Top="102" Height="32" Stretch="Fill" Width="32" Style="{DynamicResource CoverTextAlt}" Source="{DynamicResource CoverImage3}" Visibility="{DynamicResource ShowCovers}"/>
    <TextBlock Tag="3" Canvas.Left="86" Canvas.Top="118" FontFamily="Arial" FontSize="6.5" Height="16" MaxHeight="16" MaxWidth="32" Padding="1" Width="32" TextWrapping="WrapWithOverflow" Text="{DynamicResource CoverText3}" Visibility="{DynamicResource ShowCoverText}"/>
    <Image Tag="4" Canvas.Left="124" Canvas.Top="102" Height="32" Stretch="Fill" Width="32" Style="{DynamicResource CoverTextAlt}" Source="{DynamicResource CoverImage4}" Visibility="{DynamicResource ShowCovers}"/>
    <TextBlock Tag="4" Canvas.Left="124" Canvas.Top="118" FontFamily="Arial" FontSize="6.5" Height="16" MaxHeight="16" MaxWidth="32" Padding="1" Width="32" TextWrapping="WrapWithOverflow" Text="{DynamicResource CoverText4}" Visibility="{DynamicResource ShowCoverText}"/> 
    <Image Tag="5" Canvas.Left="162" Canvas.Top="102" Height="32" Stretch="Fill" Width="32" Style="{DynamicResource CoverTextAlt}" Source="{DynamicResource CoverImage5}" Visibility="{DynamicResource ShowCovers}"/>
    <TextBlock Tag="5" Canvas.Left="162" Canvas.Top="118" FontFamily="Arial" FontSize="6.5" Height="16" MaxHeight="16" MaxWidth="32" Padding="1" Width="32" TextWrapping="WrapWithOverflow" Text="{DynamicResource CoverText5}" Visibility="{DynamicResource ShowCoverText}"/>
</Canvas>
